Configure Static Route on Tenant VRF

Provide the border-leaf IP (on which the VRF is instantiated) for the VRF SR (Static Route) and VRF SR-BFD (Static Route – BFD) configuration.

About this task

Follow this procedure to configure a static route on tenant VRF.

Procedure

  1. To create a static route on tenant VRF, run the following command:
    efa tenant vrf create --name <vrf-name> --tenant <tenant-name> 
        --ipv6-static-route-next-hop <border-leaf-ip, destination, next-hop, distance, metric>
        --ipv4-static-route-next-hop <border-leaf-ip, destination, next-hop, distance, metric>
  2. To update a static route on tenant VRF, run the following command:
    efa tenant vrf update –name <vrf-name> --tenant <tenant-name> 
        --operation <static-route-add|static-route-delete> 
        --ipv6-static-route-next-hop <border-leaf-ip, destination, next-hop, distance>
        --ipv4-static-route-next-hop <border-leaf-ip, destination, next-hop, distance>

Example

The following example creates static routes on tenant VRF:
efa tenant vrf create --name VRF1 --tenant tenant1
    --ipv6-static-route-next-hop BL1-IP,2000::/64,1001::2
    --ipv6-static-route-next-hop BL1-IP,2000::/64,1002::2
    --ipv6-static-route-next-hop BL2-IP,2001::/64,1001::2,4
    --ipv6-static-route-next-hop BL2-IP,2001::/64,1002::2
    --ipv4-static-route-next-hop BL1-IP,22.0.0.0/24,13.0.0.1,2
    --ipv4-static-route-next-hop BL1-IP,22.0.0.0/24,13.0.0.2
    --ipv4-static-route-next-hop BL2-IP,23.0.0.0/24,13.0.0.1 
    --ipv4-static-route-next-hop BL2-IP,23.0.0.0/24,13.0.0.2